/****************************************
 * Copyright (c) 2015 NiuWa.
 * All rights reserved.
 * Created on 2015年4月1日
 * 
 * Contributors:
 * 	   zhangmingtao - initial implementation
 ****************************************/
package com.niuwa.p2p.core.enums;

/**
 * @title  true、false枚举
 *
 * @author zhangmingtao
 * @version 1.0
 * @created 2015年4月1日
 */
public enum BooleanEnum {
	TRUE(Boolean.TRUE, "是"), FALSE(Boolean.FALSE, "否");

	private final Boolean value;
	private final String info;

	private BooleanEnum(Boolean value, String info) {
		this.value = value;
		this.info = info;
	}

	public String getInfo() {
		return info;
	}

	public Boolean getValue() {
		return value;
	}
}
